package com.macro.mall.commission.service.bo;

import com.macro.mall.common.api.input.PagedAndSortedInput;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

import javax.validation.Valid;
import java.time.LocalDateTime;
import java.util.List;

/**
 * 分页查询订单佣金预估input
 *
 * @author xuyanjun
 * @date 2019-12-11
 */
@Valid
@Getter
@Setter
@ToString
@Accessors(chain = true)
public class PagedQueryOrderPredicateInput extends PagedAndSortedInput {

    /**
     * 创建时间字段名称
     */
    public static final String CREATE_TIME_FIELD_NAME="create_time";

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 订单id
     */
    private Long orderId;

    /**
     * 开始时间(创建时间维度)
     */
    private LocalDateTime createBeginTime;

    /**
     * 结束时间(创建时间维度)
     */
    private LocalDateTime createEndTime;


    private Boolean canceled;
}
